package com.chb.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：张家琪
 * @date ：Created in 2023/10/12 9:59
 * @description：
 * @modified By：
 * @version:
 */
@Data
public class Shopkeeperchange {
    //调动编号
    private Integer sid;
    //员工姓名
    private Integer staffid;
    private Integer branchid;
    //旧分店
    private String oldbanchid;
    //旧部门
    private Integer deptid;
    //旧职位
    private Integer roleid;
    //新分店
    private Integer newbranchid;
    //新部门
    private Integer newdeptid;
    //新职位
    private Integer newroleid;
    //执行时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date transfertime;
    //执行人
    private Integer transferper;

    private Department department;
    private Department department2;
    private Staff staff;
    private Staff staff2;
    private Role role;
    private Role role2;
    private Branch branch;
    private Branch branch2;
}